home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
scope
/
026-050
/
scopedisk31
/
scenery
/
sc.post
< prev
next >
Wrap
Text File
|
1995-03-18
|
822b
|
14 lines
Generating good-looking pseudo-random scenery (terrain) has interested me
for a while (I'm into computer game playing as well as compilers). A couple
of years ago I tried to generate scenery using a "volcano" type generator
(lead on by the "Empire" manual). I got one going, but it was VERY slow. I
eventually came up with a method that touches each point only once, and
uses only small integer calculations. The first version I did (in Draco of
course) for the Spectrum card (128 x 192 x 2) in my Compupro CP/M system.
Here follows a version I whipped up for the Amiga. It's in Draco, so you
won't be able to compile it (also you don't have the include files :-( ).
So, following it is the uuencoded object. It takes a few seconds to produce
the image, so have patience.
Chris Gray (ubc-vision,sask)!alberta!myrias!cg